@media (min-width:801px) {
  .not-pc {
    visibility: hidden;
  }

  .nav-for-device {
    display: none !important;
  }

  .wrapper {
    margin-bottom: 4em;
  }

  .header {
    margin-bottom: 2em;
  }

  .main {
    width: 100% - @ini_sidebar_percentage;
  }

  .sidebar {
    width: @ini_sidebar_percentage;
  }

  .sidebar-aside {
    width: 95%;
    float: @ini_sidebar_position;
  }
}

@media (max-width:@ini_tablet_width) {
  .not-pc {
    visibility: visible;
  }

  .wrapper-content {
    display: flex;
    flex-direction: column;
  }

  .sidebar-articleNav #dw__toc {
    border-bottom: none;
    margin-bottom: 0;
  }

  .sidebar {
    padding: 2em 0;
  }

  .sidebar-breadcrumbs {
    display: none;
  }

  h3.sidebar-title {
    font-size: 100%;
  }

  .pc-only {
    display: none;
  }

  .nav-for-device {
    width: 100%;
    display: block;
    background-color: #eee;
    overflow: hidden;
    box-shadow: 0 5px .5px -5px rgba(0, 0, 0, .3) inset,0 -5px 3px -5px rgba(0, 0, 0, .3) inset;
    display: none;
  }

  .nav-for-device ul {
    font-size: 90%;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-for-device li {
    border-top: 1px #ddd solid;
    text-align: center;
    margin: 0;
  }

  .nav-for-device li.user {
    font-weight: bold;
  }

  .nav-for-device a {
    display: block;
    height: 100%;
    padding: .5em 0;
  }

  .nav-for-device .user {
    background-color: #e6e6e6;
    padding: .5em 0;
  }

  .nav-for-device a:hover {
    border: none;
  }

  .header-navButton--searchBar {
    height: auto;
    width: 90%;
    display: block;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 3px;
  }

  .header-navButton {
    transition: all .5s;
    background-color: transparent;
    cursor: pointer;
  }

  .header-nav.not-pc .icon-cube {
    font-size: 120%;
    line-height: 1.5;
  }

  .header-navButton.is-active {
    background-color: #eee;
    box-shadow: 5px 0 5px -5px rgba(0, 0, 0, .3) inset;
  }

  .header-navButton--searchBar form#dw__search {
    width: 100%;
  }

  .header-navButton--searchBar .no {
    display: flex;
  }

  .header-navButton--searchBar [class^='icon'] {
    top: 0px;
    right: 22px;
  }

  .header-navButton--searchBar button,
  .header-navButton--searchBar input.button {
    width: 80px;
    height: 35px;
    border-left: 5px #eee solid;
    outline: none;
  }

  .dokuwiki input#qsearch__in {
    width: calc(100%) !important;
  }

  .footer {
    font-size: .8em;
  }

  .footer-content {
    height: 5.5em;
  }

  .detail-img, .detail-meta {
    width: 100%;
  }
}

@media (max-width:@ini_phone_width) {
  .dokuwiki {
    min-width: 305px;
  }

  .header-subTitle {
    display: none;
  }

  .dokuwiki ul.admin_tasks {
    width: 80%;
  }
}
